Install Microsoft .NET 5 with the Raspberry Pi

On your Pi, just run the following command; Here is the link to the author https://github.com/pjgpetecodes/dotnet5pi